<template>
    <div>
      <table cellpadding="0" cellspacing="0" class="recepit_table2">
        <tbody>
          <tr>
            <td class="tit">单号</td>
            <td>{{ receiptsDetail.code || '' }}</td>
            <td class="tit">调出仓库</td>
            <td>{{ receiptsDetail.come_type_code_name || '' }}</td>
            <td class="tit">接收仓库</td>
            <td>{{ receiptsDetail.to_type_code_name || '' }}</td>
            <td class="tit">调拨原因</td>
            <td>{{ receiptsDetail.allocation_cause_name || '' }}</td>
          </tr>
          <tr>
            <td class="tit">配送方式</td>
            <td>{{ receiptsDetail.receive_type_name || '' }}</td>
            <td class="tit">总数量</td>
            <td>1</td>
            <td class="tit">总金重（g)</td>
            <td>{{ receiptsDetail.total_gold_weight || '' }}</td>
            <td class="tit">总件重（g)</td>
            <td>{{ receiptsDetail.total_piece_weight || '' }}</td>
          </tr>
          <tr>
            <td class="tit">总标价</td>
            <td>{{ receiptsDetail.total_sticker_price || '' }}</td>
            <td class="tit">总成本</td>
            <td>{{ receiptsDetail.total_cost || '' }}</td>
            <td class="tit">备注</td>
            <td>{{ receiptsDetail.note || '' }}</td>
            <td class="tit">制单人</td>
            <td>{{ receiptsDetail.make_user_name || '' }}</td>
          </tr>
          <tr>
            <td class="tit">业务日期</td>
            <td>{{ receiptsDetail.business_time || '/' }}</td>
            <td class="tit">审核人</td>
            <td>{{ receiptsDetail.verify_user_name || '' }}</td>
            <td class="tit">状态</td>
            <td class="ele-text-primary" colspan="3">{{ receiptsDetail.status_name || '' }}</td>
          </tr>
          <tr v-if="receiptsDetail.cause">
			<td class="tit">拒绝原因</td>
			<td colspan="7" class="ele-text-danger">{{ receiptsDetail.cause || '' }}</td>
          </tr>
        </tbody>
      </table>
    </div>
  </template>
  
  <script setup>
    import { ref, reactive, unref, onMounted } from 'vue';
  
    const props = defineProps({
      receiptsDetail: Object
    });
  
    console.log('---', props.receiptsDetail);
  </script>
  
  <style></style>
  